package com.wanmait.movie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wanmait.movie.entity.Admin;
import com.wanmait.movie.entity.Movie;
import com.wanmait.movie.entity.VO.MovieDTO;

import java.util.List;

public interface MovieService extends IService<Movie> {
    PageInfo<Movie> getESMovieList(int pageNum, int movieTypeId, String keyword);
    List<Movie> getMovieList();
    boolean saveOrUpdate(MovieDTO entity, Admin admin);

    Integer getMovieTime(Integer id);

    List<Movie> getNewMovieList();

    List<Movie> getWantMovieList();
}
